package com.wxproject.demo.MyException;/*
 *项目名: WXTEST
 *文件名: MyNullPointerException
 *创建者: ZQF
 *创建时间:2020/12/7 19:42
 *描述: TODO
 */

public class MyNullPointerException extends Exception {
    MyNullPointerException(String s) {
        super(s);
    }
    class TokenRunTimeError {
        void method() throws MyNullPointerException {
            throw new MyNullPointerException("请重新登陆"); // 抛出自定义的类
        }
    }

}
